WCPOS\WooCommercePOS\API\Products_Controller A

Total Complexity 58
Dependencies 9
Dependents 1
Total lines 493
Lines of code 249
Logical lines of code 134
Comment lines 165
Methods 15
Properties 3

Methods 15

Method Rating Maintainability Complexity Lines of code
wcpos_posts_search()
A
46 11 38
prepare_objects_query()
A
46 8 40
get_item_schema()
S
56 6 17
get_collection_params()
S
57 5 16
wcpos_get_all_posts()
S
48 3 34
wcpos_product_response()
S
50 3 31
wcpos_dispatch_request()
S
64 4 9
wcpos_product_query()
S
62 4 10
wcpos_posts_where_product_include_exclude()
S
58 3 14
wcpos_posts_join_to_products_search()
S
66 3 7
__construct()
S
70 2 6
wcpos_insert_product_object()
S
67 2 8
wcpos_posts_groupby_product_search()
S
68 2 7
wcpos_register_wc_rest_api_hooks()
S
65 1 8
wcpos_posts_clauses()
S
77 1 4